summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx
diff options
context:
space:
mode:
authorKimdonghan <dh32110@gmail.com>2025-12-03 18:27:43 +0900
committerKimdonghan <dh32110@gmail.com>2025-12-03 18:27:43 +0900
commit2f02e9ea125c3ec42afac84ec903767930335dd3 (patch)
tree70f8e0ee57f868d29e7a338db49c5cf228468376 /app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx
parent7b2718ba47b69ed4b1bf20977cebe93393191839 (diff)
(김동한) 메뉴명과 화면 내 h태그 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx b/app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx
index cf35530d..ad7c7b36 100644
--- a/app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(sales)/tech-contact-possible-items/page.tsx
@@ -6,17 +6,22 @@ import { searchParamsCache } from "@/lib/contact-possible-items/validations"
import { ContactPossibleItemsTable } from "@/lib/contact-possible-items/table/contact-possible-items-table"
import { getValidFilters } from "@/lib/data-table"
import { type SearchParams } from "@/types/table"
+import { useTranslation } from "@/i18n"
interface ContactPossibleItemsPageProps {
+ params: Promise<{lng: string}>
searchParams: Promise<SearchParams>
}
export default async function ContactPossibleItemsPage({
+ params,
searchParams,
}: ContactPossibleItemsPageProps) {
// ✅ searchParams 파싱
const resolvedSearchParams = await searchParams
const search = searchParamsCache.parse(resolvedSearchParams)
+ const {lng} = await params
+ const {t} = await useTranslation(lng, 'menu')
console.log("Parsed search params:", search)
@@ -39,10 +44,10 @@ export default async function ContactPossibleItemsPage({
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- 담당자별 자재 관리
+ {t('menu.tech_sales.contact_items')}
</h2>
<p className="text-muted-foreground">
- 기술영업 담당자별 자재를 관리합니다.
+ {t('menu.tech_sales.contact_items_desc')}
</p>
</div>
</div>